home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Internet / FeedDemon / FeedDemonInstall.exe / {app} / Data / Styles / commonvar.inc < prev    next >
Encoding:
Text File  |  2006-10-19  |  1016 b   |  31 lines

  1. <!-- 
  2.     newspaper type will be one of the following:    
  3.           * folder
  4.         * channel
  5.         * newsitem
  6.         * search
  7.  -->
  8. <xsl:variable name="newspaper-type" select="/newspaper/@type"/>
  9.  
  10. <!-- 
  11.     'show-excerpts' is set by FeedDemon at runtime
  12.       0 = always show full descriptions
  13.       1 = show excerpts (summaries) when more than one post displayed
  14.       2 = headlines
  15. -->
  16. <xsl:variable name="show-excerpts" select="$SHOW-EXCERPTS$"/>
  17.  
  18. <!-- # of items (this page only) -->
  19. <xsl:variable name="item-count" select="count(/newspaper/channel/item)"/>
  20.  
  21. <!-- # of unread items -->
  22. <xsl:variable name="unread-count" select="count(/newspaper/channel/item/state[@read=0])"/>
  23.  
  24. <!-- display/grouping/sorting -->
  25. <xsl:variable name="group-by" select="'$GROUP-BY$'"/>
  26.  
  27. <!-- page information -->
  28. <xsl:variable name="pageNum" select="/newspaper/pageInfo/@pageNum"/>
  29. <xsl:variable name="numPages" select="/newspaper/pageInfo/@numTotalPages"/>
  30. <xsl:variable name="numTotalPosts" select="/newspaper/pageInfo/@numTotalPosts"/>
  31.